import os

URL_PREFIX = r"/api/label"

DEFAULT_SETTING_PATH = 'default_setting.json'

LOGS_DIR = "./logs/app.log"

MYSQL_USER = "root"
MYSQL_PASSWORD = "Kingsha123456../"
MYSQL_PORT = 3306
MYSQL_HOST = "172.18.0.82"
MYSQL_DB = "label"

REDIS_HOST = "127.0.0.1"
REDIS_PORT = 6379
REDIS_PASSWORD = ""
REDIS_DATABASE = 4
REDIS_DATABASE_KEY = "label:"


CELERY_REDIS_BACKEND_DATABASE = 0
CELERY_REDIS_BROKER_DATABASE = 0

APSCHEDULER_MAX_CONNECTIONS = 10
APSCHEDULER_REDIS_DB = 10


ROOT_PATH = os.path.dirname(__file__)
STATIC_PATH = "%s\\statics" % ROOT_PATH

APP = '112'
SUBJECT = '112'
DEFAULT_TOKEN_SECRET = "5p5LiK5bCP6ZuF55qE5il6aOO5YaN576O5Lmf5q+U5LiN6yR"
# 请求秘钥
API_SECRET = "dee5d76fc3394cd4e088ab341061ba3c"


HOST = ""
PASSWORD = ""
USERNAME = ""
HTTP_FILE_URL =""
REMOTE = ""